<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
	<head>
		<meta http-equiv="Content-Language" content="zh-cn">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>留言本</title>
		<link rel="stylesheet" type="text/css" href="css/css.css">
	</head>

	<body>
		<p>
			&nbsp;
		<table border="0" cellpadding="0" cellspacing="0"
			style="border-collapse: collapse" bordercolor="#111111" width="80%"
			id="AutoNumber3">
			<tr>
				<td width="140" valign="top" align=center>

				</td>
				<td>
					<img border="0" src="images/guestbook.jpg">
					<p style="margin: 0 20">
				</td>
			</tr>
		</table>

		<table border="0" cellpadding="0" cellspacing="0"
			style="border-collapse: collapse" bordercolor="#111111" width="80%"
			id="AutoNumber3">
			<tr>
				<td width="140" valign="top">
				</td>
				<td>
					<br>
					<div align="center">
						<center>
							<c:forEach items="${requestScope['divacrm.articles']}"
								var="article">
								<table style="word-break: break-all" border="1" cellpadding="0"
									cellspacing="0" style="border-collapse: collapse"
									bordercolor="#3F8805" width="90%" id="AutoNumber4">
									<tr>
										<td height="20" bgcolor="#eefee0" width="75%">
											&nbsp;
											<img src="images/gb-index2.gif" align="middle"">
											<p
												style="line-height: 140%; margin-left: 15; margin-right: 10; margin-top: 10; margin-bottom: 5"
												align=left>
												&nbsp;姓名：
												<c:out value="${article.name}" />
											</p>											
											 
											<a href="<c:url value="/divacrm.do?method=edit&id=${article.id}" />">edit</a>
											<a href="<c:url value='/divacrm.do?method=delete&id=${article.id}'/>">delete</a>
										</td>
										<td height="20" bgcolor="#eefee0" width="25%">
											<p align="right" style="margin-right: 10">
												<a href=mailto: <c:out value="${article.email}" />><img
														border='0' alt='信箱 <c:out value="${article.email}" />'
														src=images/gb-mail.gif align='middle'> </a>&nbsp;
												
										</td>
									</tr>
									<tr>
										<td colspan="2" height="120" style="WORD-WRAP: break-word">
											
											<p
												style="line-height: 140%; margin-left: 15; margin-right: 10; margin-top: 10; margin-bottom: 5"
												align=left>
												&nbsp;血型：
												<c:out value="${article.blood}" />
											</p>
											<p
												style="line-height: 140%; margin-left: 15; margin-right: 10; margin-top: 10; margin-bottom: 5"
												align=left>
												&nbsp;卡号：
												<c:out value="${article.cardnumber}" />
											</p>
											<p
												style="line-height: 140%; margin-left: 15; margin-right: 10; margin-top: 10; margin-bottom: 5"
												align=left>
												&nbsp;性别：
												<c:out value="${article.gender}" />
											</p>
											<p
												style="line-height: 140%; margin-left: 15; margin-right: 10; margin-top: 10; margin-bottom: 5"
												align=left>
												&nbsp;邮编：
												<c:out value="${article.postcode}" />
											</p>
											<p
												style="line-height: 140%; margin-left: 15; margin-right: 10; margin-top: 10; margin-bottom: 5"
												align=left>
												&nbsp;星座：
												<c:out value="${article.constellation}" />
											</p>
											
											<p
												style="line-height: 140%; margin-left: 15; margin-right: 10; margin-top: 10; margin-bottom: 5"
												align=left>
												&nbsp;手机：
												<c:out value="${article.mobile}" />
											</p>
										</td>
									</tr>
								</table>
							</c:forEach>
						</center>
					</div>
				</td>
			</tr>
		</table>

		<table border="0" cellpadding="0" cellspacing="0"
			style="border-collapse: collapse" bordercolor="#111111" width="80%"
			id="AutoNumber3">
			<tr>
				<td width="140" valign="top">
				</td>
				<td>
					<br>
					<div align="center">
						<center>
							<table style="word-break: break-all" border="1" cellpadding="0"
								cellspacing="0" style="border-collapse: collapse"
								bordercolor="#3F8805" width="90%" id="AutoNumber4">
								<tr>
									<td height="20" bgcolor="#eefee0" width="75%">
										&nbsp;
										<img src="images/gb-index2.gif" align="middle"">
										留言者姓名
										<font color="#3F8805"> 留言时间说</font>&nbsp; 这里显示留言的主题
									</td>
									<td height="20" bgcolor="#eefee0" width="25%">
										<p align="right" style="margin-right: 10">
											<a href=mailto:liuwei@126.com><img border='0'
													alt='信箱 liuwei@126.com' src=images/gb-mail.gif
													align='middle'> </a>&nbsp;
											<a href="#"> <img border='0' src=images/gb-url.gif
													align='middle'> </a>
									</td>
								</tr>
								<tr>
									<td colspan="2" height="120" style="WORD-WRAP: break-word">
										<p
											style="line-height: 140%; margin-left: 15; margin-right: 10; margin-top: 10; margin-bottom: 5"
											align=left>
											这里显示留言的内容

										</p>
									</td>
								</tr>
							</table>
						</center>
					</div>
				</td>
			</tr>
		</table>




		<table border="0" cellpadding="0" cellspacing="0"
			style="border-collapse: collapse" bordercolor="#111111" width="80%"
			id="AutoNumber5">
			<tr>
				<td width="140" valign="top">
				</td>
				<td>
					<br>
					<div align="center">
						<center>
							<table border="1" cellpadding="0" cellspacing="0"
								style="border-collapse: collapse" bordercolor="#3F8805"
								width="90%" id="AutoNumber6">
								<tr>
									<td colspan="2" height="50">
										<a href="<c:url value='/input.jsp'/>">请您留言</a>:::::
										<a href="<c:url value='/login.do?method=logout'/>">退出管理</a>
									</td>
								</tr>
							</table>
						</center>
					</div>
				</td>
			</tr>
		</table>

		<p align=center>
			留言本 v1.0 copyright 2007
			<br>
			v512工作室
		</p>
	</body>
</html>
